home *** CD-ROM | disk | FTP | other *** search
- <script language="JavaScript">
- <!--
- function PopupWindow()
- {
- // This code creates a popup window.
- // INSTRUCTIONS:
- // 1. Insert this section of code anywhere between the end heading (</head>) and begin body (<body>) elements.
- // 2. Change the settings available below
- // 3. To open the popup window, add the following hyperlink code to your website:
- // <a href="#" onClick="PopupWindow();">Click Here</a>
- // 4. If you add more popup windows to the same webpage, you will need to give each new function a different name. For example
- // function PopupWindowOne()
- // function PopupWindowTwo()
- // function PopupWindowThree()
- // and so on...
-
- //You can change the following settings
- var webpage="index.html" //specify the address of webpage to open here
- var windowwidth="200" //specify the width of the popup window
- var windowheight="200" //speciy the height of the popup window
- var showstatusbar="no" //show the status bar. Possible values are yes | no
- var showtoolbar="no" //show the toolbar. Possible values are yes | no
- var showlocationbar="no" //show the location bar. Possible values are yes | no
- var showmenu="no" //show the menu bar. Possible values are yes | no
-
- //You do not need to change the code below:
- windowname = window.open(webpage,"windowname","status=" + showstatusbar + ",toolbar=" + showtoolbar + ",location=" + showlocationbar + ",menubar=" + showmenu + ",width=" + windowwidth +",height=" + windowheight);
- }
- --></script>
-
- [-\description-/]
- Creates a pop-up window from a hyperlink. This code should be inserted between the end heading (</head>) and begin body (<body>) elements.
-